import IMenuPageForm from '@/model/form/menu/IMenuPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IMenuVO from '@/model/vo/menu/IMenuVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：菜单
export default function menuPageApi(form: IMenuPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IMenuVO>>>,
    IMenuPageForm
  >('/menu/page', form)
}
